﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WarCardGame._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>War Card Game</title>
</head>
<body>
    <form id="form1" runat="server">
        <div style="text-align:center">
            <asp:Image ID="Image1" runat="server" ImageUrl="/Images/homeicon.jpg" 
                Width="315px" ImageAlign="Middle" Height="295px" /><br /><br />
            <asp:Label ID="lblp1Name" runat="server" Text="Player 1 name: " 
                Width="132px"></asp:Label>
            <asp:TextBox ID="txtp1Name" runat="server" Width="127px"></asp:TextBox> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="txtp1Name" Display="Dynamic" 
                ErrorMessage="Player 1 is required."></asp:RequiredFieldValidator><br /><br />
            <asp:Label ID="lblp2Name" runat="server" Text="Player 2 name: " 
                Width="132px"></asp:Label>
            <asp:TextBox ID="txtp2Name" runat="server" Width="127px"></asp:TextBox>
            <asp:RequiredFieldValidator ID="rfv2" runat="server" 
                ControlToValidate="txtp2Name" Display="Dynamic" 
                ErrorMessage="Player 2 is required."></asp:RequiredFieldValidator><br /><br />
            <asp:Button ID="btnPlay" runat="server" Text="Play" Width="65px" 
                 onclick="btnPlay_Click"/>
        </div>
    </form>
</body>
</html>